function [ factorValueFile ] = FVCalculator(stratsGroup)
% get properties of the stratGroup
% tranverse strategy pool and get number of strats
numOfStrats=size(stratsGroup,1);
periodLength=size(stratsGroup,2);

%
factorNum= 2;
factorValueFile=zeros(factorNum,numOfStrats,periodLength);
%tranverse and calculate factors' value
factorValueFile=loadFactors(stratsGroup,factorNum,factorValueFile);




%% load some factors and calculate , for every factor there is a numOfStrats*periodLength datagroup
    function [factorValueFile] = loadFactors(stratsData,factorNum,factorValueFile)
        
        
        factorValueFile(1,:,:)=factorMAXDD(stratsData);
        disp('already loaded factor MAXDD')
        factorValueFile(2,:,:)=factorSHARPE(stratsData);
        disp('already loaded factor SHARPE')
        % factorValueFile(k,:,:)=factorK(stratsData);      
    end








end

